/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: GaoBo
 * Date: 2021-05-18
 * Time: 17:31
 */
class Person {
    public String name;

    private Person(String name) {
        this.name = name;
    }

    public static Person func() {
        Person person = new Person("gao");
        return person;
    }

}
public class TestDemo {
    public static void main(String[] args) {
        Person person = Person.func();
    }
}
